﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="LoginForm.aspx.cs" Inherits="LoginForm" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <%--Đăng nhập   LoginForm   --%>
    <asp:Panel ID="Panel1" runat="server" Width="250px">
        <table width="200%" style="font-size: 14px">
            <tr>
                <td colspan="3" style="text-align: center; font-weight: bold;font-size:20px">Login</td>
            </tr>
            <tr><td><br /></td></tr>
            <tr>
                <td  style="text-align: right;width:200px">Username:</td>
                <td style="width: 170px">
                    <asp:TextBox ID="txtUsername" runat="server" Width="140px"></asp:TextBox>
                </td>
                <td>
                    <strong>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUsername" ErrorMessage="(*)" style="color: #FF0000; background-color: #FFFFFF"></asp:RequiredFieldValidator>
                    </strong>
                </td>
            </tr>
            <tr>
                <td style="text-align: right;width:200px">Password:</td>
                <td style="width: 170px">
                    <asp:TextBox ID="txtPassword" runat="server" Width="140px" TextMode="Password"></asp:TextBox>
                </td>
                <td>
                    <strong>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPassword" ErrorMessage="(*)" style="color: #FF0000; background-color: #FFFFFF"></asp:RequiredFieldValidator>
                    </strong>
                </td>
            </tr>
            <tr>
                <td colspan="3"><br /></td>
            </tr>
            <tr>
                <td colspan="3" style="text-align: center; line-height: 20px">
                    <strong>
                        <asp:Button ID="btnLogin" runat="server" OnClick="btnLogin_Click" Text="Login" />
                    </strong>
                </td>
            </tr>
            <tr>
                <td colspan="3" style="text-align: center">
                    <strong>
                        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Register.aspx" style="background-color: #FFFFFF; text-decoration:underline">Register</asp:HyperLink>
                    </strong>
                </td>

            </tr>
            <tr>
                <td colspan="3" style="text-align: center">
                    <strong>
                        <asp:Label ID="lblMsgLogin" runat="server" CssClass="auto-style9" style="color: #FF0000"></asp:Label>
                    </strong>
                </td>
            </tr>
        </table>
    </asp:Panel>
    <br />
</asp:Content>

